<?php

namespace App\Http\Controllers\Erp;

use App\Repositories\Stock\ProductStockLogRepository;
use Illuminate\Http\Request;

class ProductStockLogController extends ErpController
{
    protected $productStockLogRepository;

    public function __construct(ProductStockLogRepository $productStockLogRepository)
    {
        $this->productStockLogRepository = $productStockLogRepository;

    }

    //产品库存记录列表
    public function list(Request $request)
    {
        $input = $request->input();
        $list = $this->productStockLogRepository->where($input)->getList();
        return $this->paginate($list);
    }




}